#pragma once

#include "base/Control.h"

class ListView : public Control
{
public:
    ListView() {}

    void ParseXmlElement(class TiXmlElement* ele);
    bool SetAttribute(const char* attrName, const char* attrVal);
    void OnDraw();
    void onMouseButtonDown(int button, int x, int y);
    void onMouseButtonUp(int button, int x, int y);
    BlueprintScriptLibrary::Class* GetClass();

    std::vector<std::string> items;
    int itemHeight = 20;
};
RegisterBlueprintClass(ListView)